<template>
    <div class="home">
        <Loading v-if="isShow"/>
        <homeDescript v-else/>
    </div>
</template>

<script>
import homeDescript from "./home-descript/homeDescript" 
import Loading from "../loading/index"
export default {
    components:{
        homeDescript,
        Loading
    },
    data(){
        return {
            isShow:true
        }
    },
    mounted() {
      this.load()  
    },
    methods:{
        load(){
            let timer=setTimeout(()=>{
                this.isShow=!this.isShow
                clearTimeout(timer)
            },500)
        }
    }
}
</script>

<style lang="less" scoped>
.home{
    position: relative;
    width:100%;
}
</style>